package main.java.com.entity;



import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 套餐菜品关系
 */

public class SetmealDish implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    //套餐id
    private Long setmeal_Id;
    //菜品id
    private Long dish_Id;
    //菜品名称 （冗余字段）
    private String name;
    //菜品原价
    private BigDecimal price;
    //份数
    private Integer copies;
    //排序
    private Integer sort;

    private Date create_time;

    private Date update_time;

    private Long create_User;

    private Long update_User;
    //是否删除
    private Integer isDeleted;

    public SetmealDish() {
    }

    public SetmealDish(Long id, Long setmeal_Id, Long dish_Id, String name, BigDecimal price, Integer copies, Integer sort, Date create_time, Date update_time, Long create_User, Long update_User, Integer isDeleted) {
        this.id = id;
        this.setmeal_Id = setmeal_Id;
        this.dish_Id = dish_Id;
        this.name = name;
        this.price = price;
        this.copies = copies;
        this.sort = sort;
        this.create_time = create_time;
        this.update_time = update_time;
        this.create_User = create_User;
        this.update_User = update_User;
        this.isDeleted = isDeleted;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSetmeal_Id() {
        return setmeal_Id;
    }

    public void setSetmeal_Id(Long setmeal_Id) {
        this.setmeal_Id = setmeal_Id;
    }

    public Long getDish_Id() {
        return dish_Id;
    }

    public void setDish_Id(Long dish_Id) {
        this.dish_Id = dish_Id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getCopies() {
        return copies;
    }

    public void setCopies(Integer copies) {
        this.copies = copies;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Long getCreate_User() {
        return create_User;
    }

    public void setCreate_User(Long create_User) {
        this.create_User = create_User;
    }

    public Long getUpdate_User() {
        return update_User;
    }

    public void setUpdate_User(Long update_User) {
        this.update_User = update_User;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}
